package com.cqu.lpss.mapper;

import com.cqu.lpss.pojo.ChartsData;
import com.cqu.lpss.pojo.Firstscoring;
import com.cqu.lpss.pojo.ProfessorUnscoreNum;
import com.cqu.lpss.pojo.Projects;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface FirstScoringMapper {
    public int insert_batch(List<Firstscoring> addlist);
    public int isEmpty();
    /**
    * @Description:在初审中，由proId进行评审的Prj集合
    * @Param:[proId]
    * @Return: java.util.List<com.cqu.lpss.pojo.Projects>
    * @Date: 2024/5/8
    * @Author:liuyawen
    */

    public List<Projects> prjScoByProId(Integer proId);
    public int numOfScoreisNull();
    public int modifyScore(Integer proId, Integer prjId, Double totalScore, Timestamp time);
    public List<Firstscoring> findByprjIndex(Integer prjIndex);
    public List<ChartsData> professorUnscoreNum();
    public int scoreisNull();
}
